package com.yf.exam.modules.trainingarchives.organization.entity;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.Date;

import com.yf.exam.aspect.mybatis.BaseDO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;

/**
 * <p>
 * 机构管理表
 * </p>
 *
 * @author author
 * @since 2024-12-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("org_organization")
@ApiModel(value="Organization对象", description="机构管理表")
public class Organization extends BaseDO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "机构ID")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    @ApiModelProperty(value = "机构名称")
    private String name;

    @ApiModelProperty(value = "机构账号")
    private String account;

    @ApiModelProperty(value = "机构密码")
    private String password;

    @ApiModelProperty(value = "营业执照")
    private String license;

    @ApiModelProperty(value = "营业执照编码")
    private String licenseCode;

    @ApiModelProperty(value = "审核状态（0：待审核，1：审核通过，2：审核不通过）")
    private Integer auditState;

    @ApiModelProperty(value = "机构联系电话")
    private String phone;

    @ApiModelProperty(value = "机构地址")
    private String address;
}
